.hot {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  &-title {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20rpx 0 10rpx 40rpx;
  }

  &-first {
    width: 100%;
    position: relative;

    .cover-text {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 100rpx;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
  }

  &-category {
    margin: 20rpx;
    height: 80rpx;
    width: calc(var(--width) * 0.9); // 不能乘百分比
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 30rpx calc(var(--width) * 0.2);
    overflow: hidden;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(243, 243, 243, 0.9));
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    .under-line {
      position: absolute;
      bottom: 0;
      left: var(--startX);
      width: 2rem;
      height: 8rpx;
      background: linear-gradient(45deg, #39c5bb, #f3f3f3);
    }

    .end {
      transition: all 0.3s ease-in-out;
    }

    &-item {
      font-size: 16px;
      color: #aaaaaa;
    }

    .active {
      color: #39c5bb;
      transform: scale3d(1.2, 1.2, 1.2);
      transition: all 0.25s ease-in-out;
    }
  }

  &-list {
    width: var(--swiper);
    padding-top: 360rpx;

    &-swiper {
      width: 100%;
      &-item {
        width: 100%;
      }
    }

    &-item {
      border-radius: 10rpx;
      background-color: white;
      width: 100%;
      height: 230rpx;
      display: flex;
      align-items: center;
      justify-content: space-around;
      margin-bottom: 20rpx;
      overflow: hidden;
      padding: 5rpx;

      &-left {
        height: 100%;
        flex: 5;
        display: flex;
        justify-content: center;
        align-items: center;

        image {
          width: 95%;
          height: 95%;
        }
      }

      &-right {
        height: 100%;
        flex: 8;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .desc {
          width: 100%;
          word-wrap: break-word;
          word-break: normal;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2; // 保留几行
          -webkit-box-orient: vertical;
        }
      }
    }
  }
}